package com.huc.entity;

/**
 * @auther huc
 * @date 2020/8/24 0024 AM 9:48
 */
public class Order {
    private  Long id;
    private  String title;
    private  String username;
    private  Integer price;
    private  String note;

    public Order() {
    }

    public Order(Long id, String title, String username, Integer price, String note) {
        this.id = id;
        this.title = title;
        this.username = username;
        this.price = price;
        this.note = note;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", username='" + username + '\'' +
                ", price=" + price +
                ", note='" + note + '\'' +
                '}';
    }
}
